<div id = "main">
	<div class = "container">
		<form action = "" method = "post">
			<div class = "page_title">
				设置机器人
				<?php if (isset($saveqqResult)) { ?>
				<?php echo $saveqqResult ? "<span class = \"tip-green\">成功</span>" : "<span class = \"tip-red\">失败</span>"; ?>
				<?php } ?>
			</div>
			<ul class = "form_ul">
				<li><label class = "form_label" for = "uin"><i class = "fa fa-qq fa-fw"></i></label><input class = "form_input" type = "text" id = "uin" name = "uin" placeholder = "QQ账号" value = "<?php echo $qq['uin']; ?>" readonly = "readonly" /></li>
				<li><label class = "form_label" for = "pass"><i class = "fa fa-lock fa-fw"></i></label><input class = "form_input" type = "text" id = "pass" name = "pass" placeholder = "QQ密码" value = "<?php echo $qq['pass']; ?>" /></li>
				<li><label class = "form_label" for = "name"><i class = "fa fa-paper-plane-o fa-fw"></i></label><input class = "form_input" type = "text" id = "name" name = "name" placeholder = "机器人名字" value = "<?php echo $qq['name']; ?>" /></li>
				<li><label class = "form_label" for = "create_uin"><i class = "fa fa-flag-o fa-fw"></i></label><input class = "form_input" type = "text" id = "create_uin" name = "create_uin" placeholder = "创建者QQ" value = "<?php echo $qq['create_uin']; ?>" /></li>
				<li><label class = "form_label" for = "is_reply_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">是否回复</span><input class = "form_radio" type = "radio" id = "is_reply_true" name = "is_reply" value = "true" <?php echo $qq['is_reply'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_reply_false" name = "is_reply" value = "false" <?php echo $qq['is_reply'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_reply_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li><label class = "form_label" for = "is_auto_group_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">自动加群</span><input class = "form_radio" type = "radio" id = "is_auto_group_true" name = "is_auto_group" value = "true" <?php echo $qq['is_auto_group'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_auto_group_false" name = "is_auto_group" value = "false" <?php echo $qq['is_auto_group'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_auto_group_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li><label class = "form_label" for = "is_run_true"><i class = "fa fa-toggle-on fa-fw"></i></label><span class = "form_i_title">是否运行</span><input class = "form_radio" type = "radio" id = "is_run_true" name = "is_run" value = "true" <?php echo $qq['is_run'] == 1 ? "checked=\"checked\"" : "";?> />是<input class = "form_radio" type = "radio" id = "is_run_false" name = "is_run" value = "false" <?php echo $qq['is_run'] == 0 ? "checked=\"checked\"" : "";?> />否<label class = "form_label form_label_right" for = "is_run_false"><i class = "fa fa-toggle-off fa-fw"></i></label></li>
				<li><input class = "form_button" type = "submit" value = "确认修改" /></li>
			</ul>
		</form>
	</div>
</div>